﻿using System.Collections.Generic;

namespace NCP.Infrastructure.Common.Singleton
{
    public class SingletonDictionary<TKey, TValue> : SingletonManager<IDictionary<TKey, TValue>>
    {
        #region Ctor
        static SingletonDictionary()
        {
            SingletonManager<Dictionary<TKey, TValue>>.Instance = new Dictionary<TKey, TValue>();
        }
        #endregion

        #region Property
        public new static IDictionary<TKey, TValue> Instance
        {
            get
            {
                return SingletonManager<Dictionary<TKey, TValue>>.Instance;
            }
        }
        #endregion
    }
}
